# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/cx18-firmware/cx18-firmware-20080628.ebuild,v 1.0 2008/06/28 14:08:00 sam Exp $

inherit eutils

DESCRIPTION="firmware for CX18-based Hauppauge PVR and Conexant based cards"
HOMEPAGE="http://www.ivtvdriver.org/index.php/Firmware"

SRC_URI="http://dl.ivtvdriver.org/ivtv/firmware/cx18-firmware-${PV}.tar.gz"

RESTRICT="mirror"
SLOT="0"
LICENSE="Hauppauge-Firmware"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

RDEPEND="|| ( >=sys-fs/udev-103 sys-apps/hotplug )"

S="${WORKDIR}"

src_install() {
	dodir /lib/firmware
	insinto /lib/firmware
	doins cx18-firmware/*.fw
}
